//
// Created by root on 4/29/17.
//

#include "runner_trans.h"

int setup_translate(void **state) {
    //init_macro_functions();

    //construct_rules();
    //init_lex_orders();
    cache_patterns(); //TODO delete
    return 0;
}

int teardown_translate(void **state) {
    if (globalFunny->macros != NULL) {
        hashmap_free(globalFunny->macros);
    }
    return 0;
}

/*
FILE *create_temp_file(const char *string) {
    FILE *file = tmpfile();
    fputs(string, file);
    return file;
}
*/
